package com.ecnu.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecnu.system.domain.ProjectReview;
import com.ecnu.system.domain.vo.ProjectViewVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProjectReviewMapper extends BaseMapper<ProjectReview> {
    List<ProjectViewVO> selectByList(@Param("review") ProjectReview review,@Param("name") String name);

    List<ProjectViewVO> selectSubmissionList(@Param("userId")Long userId,@Param("name") String name);
}
